#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
	int a = 0;
	int b = 0;
	int c = 0;
	scanf("%d%d%d", &a, &b, &c);
	if ((a + b) <= c || (b + c) <= a || (c + a) <= b)
		printf("Not triangle\n");
	else
	{
		int max = 0;
		int mid = 0;
		int min = 0;
		max = (a > b) ? a : b;
		max = (max > c) ? max : c;
		if (max == a) { min = (b < c) ? b : c; mid = (b > c) ? b : c; }
		if (max == b) { min = (a < c) ? a : c; mid = (a > c) ? a : c; }
		if (max == c) { min = (a < b) ? a : b; mid = (a > b) ? a : b; }
		if (a * a + b * b == c * c || b * b + c * c == a * a || c * c + a * a == b * b)
		{
			printf("Right triangle\n");
		}
		else if (min * min + mid * mid > max * max)
		{
			printf("Acute triangle\n");
		}
		else
		{
			printf("Obtuse triangle\n");
		}
		if (a == b || a == c || b == c)
			printf("Isosceles triangle\n");
		if (a == b && a == c && b == c)
			printf("Equilateral triangle\n");
	}

	return 0;
}